package com.gxh.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户端设备列表返回的数据格式")
public class UserMachineVO implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("机械设备名称规格")
    private String name;

    @ApiModelProperty("机械设备分类")
    private String categoryName;

    @ApiModelProperty("机械设备品牌")
    private String brand;

    @ApiModelProperty("设备使用系统")
    private String machineSystem;

    @ApiModelProperty("设备出厂的年份")
    private String year;

    @ApiModelProperty("设备数量")
    private Integer quantity;
    @ApiModelProperty("设备价格")
    private BigDecimal price;
    @ApiModelProperty("设备位置")
    private String locationName;

    @ApiModelProperty("描述信息")
    private String description;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("设备状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("处理人")
    private String handleUser;
    @ApiModelProperty("处理时间")
    private LocalDateTime handleTime;
    @ApiModelProperty("第一张图片")
    private String firstImage;

}
